<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content " id="app">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${warehouse.id}"  type="hidden">
						<!--<input id="Ttags" name="Ttags" th:value="${warehouse.tags}"  type="hidden">-->
							<div class="form-group">	
								<label class="col-sm-3 control-label">名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${warehouse.name}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">仓库属性：</label>
								<div class="col-sm-8">
									<select data-placeholder="--选择属性--" name="tags" id="tags"
											class="form-control chosen-select" tabindex="2">
										<option value="">-- 选择属性 --</option>
										<!--<option th:each="proWarehouseType : ${proWarehouseTypes}" th:value="${proWarehouseType.value}"
												th:text="${proWarehouseType.name}" th:if="${proWarehouseType.remarks =='checked'}" th:selected="selected"></option>
-->
										<option th:each="proWarehouseType : ${proWarehouseTypes}" th:value="${proWarehouseType.value}"
												th:text="${proWarehouseType.name}" th:selected="'checked' eq ${proWarehouseType.remarks}"></option>

									</select>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/pro/warehouse/edit.js">
	</script>
</body>
</html>
